﻿namespace General.Utility
{
    /// <summary>
    /// 缓存系统所有配置信息，以键值对形式存在
    /// 系统相关配置信息都应该通过此类的静态属性读取
    /// 系统的配置
    /// </summary>
    public class SysConfig
    {
        /// <summary>
        /// A1
        /// </summary>
        [PathMap(Key = "Redis:A1", AppDataDirectoryConvert = true)]
        public static int A1 { get; set; }

        /// <summary>
        /// A2
        /// </summary>
        [PathMap(Key = "Redis:A2", IsDecrypt = true)]
        public static string A2 { get; set; }

        /// <summary>
        /// A3
        /// </summary>
        [PathMap(Key = "Redis:A3")]
        public static bool A3 { get; set; }

        /// <summary>
        /// A4
        /// </summary>
        [PathMap(Key = "Redis:A4")]
        public static decimal A4 { get; set; }
    }
}
